package com.neuedu.service;

import com.neuedu.entity.User;
import com.neuedu.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @项目名称: springboot-Practice
 * @包 名: com.neuedu.service
 * @作 者: Administrator
 * @创建时间: 2019-05-07 16:21
 * @描 述: 实现类
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> getUserList() {
        List<User> list=userMapper.selectAll();
        return list;
    }
}
